package com.hy.entitys;

    import com.baomidou.mybatisplus.annotation.TableName;
    import com.baomidou.mybatisplus.extension.activerecord.Model;
    import java.time.LocalDateTime;
    import java.io.Serializable;
    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 
    * </p>
*
* @author zhanghongyang
* @since 2019-06-16
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("story")
    @ApiModel(value="StoryEntity对象", description="")
    public class StoryEntity extends Model<StoryEntity> {

    private static final long serialVersionUID = 1L;

    private Integer id;

            @ApiModelProperty(value = "小说名")
    private String name;

            @ApiModelProperty(value = "简介")
    private String synopsis;

            @ApiModelProperty(value = "作者")
    private String author;

            @ApiModelProperty(value = "小说图片")
    private String imgUrl;

            @ApiModelProperty(value = "归属网站")
    private Integer webStorageId;

            @ApiModelProperty(value = "章节列表url")
    private String chapterUrl;

            @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

            @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "当前状态")
    private Integer status;

    @ApiModelProperty(value = "保存地址")
    private String saveUrl;



    @Override
    protected Serializable pkVal() {
        return null;
    }

}
